﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Prism.Events;

namespace SLIP.Core
{
    /// <summary>
    /// Holder class for basic event that holds a BaseEvent object.
    /// </summary>
    public class SLIPBaseEvent : CompositePresentationEvent<BaseEvent>
    {
    }

    /// <summary>
    /// BaseEvent object for basic event Pub/Sub.  Specific event for target module will 
    ///  identify event based on Key string.
    /// </summary>
    public class BaseEvent
    {
        public string Key { get; set; }
        public object Data { get; set; }

        public BaseEvent() { }

        public BaseEvent(string pKey, object pData)
        {
            Key = pKey;
            Data = pData;
        }
    }
}
